/*
 * Copyright (c) 2019, Beijing Yonyou Audit Software. All rights reserved.
 *
 */
package publish;

/**
 * @author 若雨成霜
 * @date 2019-11-25
 * @description 订阅者接口
 */
public interface ISubscriberPublish<M> {
    void subscribe(SubscriberPublish subscriberPublish);

    void unSubscribe(SubscriberPublish subscriberPublish);

    void update(String publisher, M message);

}
